package com.itheima.reggie.common;

public class BaseContext {
    private static final ThreadLocal<Long> THREAD_LOCAL = new ThreadLocal<Long>() ;

    public static void setThreadLocal(Long id){
        THREAD_LOCAL.set(id);
    }

    public static Long getThreadLocal(){
        return THREAD_LOCAL.get();
    }
}
